﻿using System.Collections.Generic;
using FruitCake.ContactPage.Models;
using FruitCake.ContactPage.ViewModels;
using Orchard;

namespace FruitCake.ContactPage.Services
{
    public interface IContactService : IDependency
    {
        int GetRequestCount();

        IEnumerable<ContactRequestRecord> GetRequests(int pageIndex, int pageSize);

        ContactRequestRecord GetRequest(int id);

        int SaveRequest(ContactRequestRecord request);

        void DoRequestAction(RequestAdminAction action, IEnumerable<int> itemIds);

        IEnumerable<ReasonRule> GetDefaultReasons();
    }
}
